import { useStorage } from './useStorage'

export function useSessionStorage(key: string, val?: unknown) {
  return useStorage(key, val, sessionStorage)
}